package com.zzptc.myappNaozho;

import android.content.BroadcastReceiver;
import android.app.AlertDialog;
import android.content.Context;
import android.content.Intent;

class ClockReceiver extends BroadcastReceiver {


    @Override
    public void onReceive(Context context, Intent intent) {
        AlertDialog.Builder builder=new AlertDialog.Builder(context)
                .setMessage("闹钟响了，快起床啦！");
        builder.create().show();
    }

}